{extend name="layout_modal" /}
{block name="content"}
<!-- Content Header (Page header) -->
<section class="content" style="padding-top:0px;">
<div class="row">
  <div class="box">
    <!-- /.box-header -->
    <!-- form start -->
    <form role="form" action="{:url('data_update')}">
      <div class="box-body">
        <div class="form-group">
          <label for="exampleInputEmail1">角色名称</label>
          <input type="text" class="form-control" placeholder="角色名称" name="role" value="{$info.role}">
        </div>
        <div class="form-group">
          <label for="exampleInputEmail1">是否显示</label>
          <div>
            <label><input type="radio" name="status" checked value="1" {eq name="$info.status" value="1"} checked {/eq}> 是</label>
            <label><input type="radio" name="status" value="0" {eq name="$info.status" value="0"} checked {/eq}> 否</label>
          </div>
        </div>
      </div>
      <input type="hidden" value="{$info.id}" name="id">
      <!-- /.box-body -->
    </form>
  </div>
</div>
</section>
<!-- /.content -->
{/block}